/**
 * @USER: Administrator
 * @DATE: 2024/9/15 上午10:48
 * @VERSION: 1.0.0
 */
public class LC1550 {
    public static void main(String[] args) {

    }
    public boolean threeConsecutiveOdds(int[] arr) {
        for (int i = 0; i < arr.length-2; i++) {
            if (arr[i] % 2 == 1 && arr[i+1] % 2 == 1 && arr[i+2] % 2 == 1) {
                return true;
            }
        }
        return false;
    }
}
